package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 压降分析结果对象 dispatchPressureDropAnalysisResults
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchPressureDropAnalysisResults extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 压降分析结果编号 */
    private Long pressureDropAnalysisResultsId;

    /** 关联的实际压力衰减值记录 ID */
    @Excel(name = "关联的实际压力衰减值记录 ID")
    private Long actualPressureDecayValuesId;

    /** 关联的理论压力衰减值记录 ID */
    @Excel(name = "关联的理论压力衰减值记录 ID")
    private Long theoreticalPressureDecayValuesId;

    /** 是否为异常情况 */
    @Excel(name = "是否为异常情况")
    private Integer isAnomaly;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 分析的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "分析的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date analysisTime;

    public void setPressureDropAnalysisResultsId(Long pressureDropAnalysisResultsId) 
    {
        this.pressureDropAnalysisResultsId = pressureDropAnalysisResultsId;
    }

    public Long getPressureDropAnalysisResultsId() 
    {
        return pressureDropAnalysisResultsId;
    }
    public void setActualPressureDecayValuesId(Long actualPressureDecayValuesId) 
    {
        this.actualPressureDecayValuesId = actualPressureDecayValuesId;
    }

    public Long getActualPressureDecayValuesId() 
    {
        return actualPressureDecayValuesId;
    }
    public void setTheoreticalPressureDecayValuesId(Long theoreticalPressureDecayValuesId) 
    {
        this.theoreticalPressureDecayValuesId = theoreticalPressureDecayValuesId;
    }

    public Long getTheoreticalPressureDecayValuesId() 
    {
        return theoreticalPressureDecayValuesId;
    }
    public void setIsAnomaly(Integer isAnomaly) 
    {
        this.isAnomaly = isAnomaly;
    }

    public Integer getIsAnomaly() 
    {
        return isAnomaly;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setAnalysisTime(Date analysisTime) 
    {
        this.analysisTime = analysisTime;
    }

    public Date getAnalysisTime() 
    {
        return analysisTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pressureDropAnalysisResultsId", getPressureDropAnalysisResultsId())
            .append("actualPressureDecayValuesId", getActualPressureDecayValuesId())
            .append("theoreticalPressureDecayValuesId", getTheoreticalPressureDecayValuesId())
            .append("isAnomaly", getIsAnomaly())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("analysisTime", getAnalysisTime())
            .toString();
    }
}
